﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/ContentFrame.master" AutoEventWireup="true" CodeBehind="OrganizationEdit.aspx.cs"
    Inherits="ETD.WebManagement.Admin.OrganizationManage.OrganizationEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="edit_form_container width800">




        <div class="form_filed_container width400">
            <label class="form_filed_label">机构名称：</label>
            <telerik:RadTextBox ID="txtName" MaxLength="32" Width="295px" runat="server"></telerik:RadTextBox>
        </div>
        
         <div class="form_filed_container width800">
            <label class="form_filed_label">上级机构：</label>

            <telerik:RadDropDownTree RenderMode="Lightweight" ID="rddtOrganization" runat="server" Width="694px"
                DefaultMessage="--请选择--" ExpandNodeOnSingleClick="true"
                EnableFiltering="false">
                <DropDownSettings OpenDropDownOnLoad="false" />
                <FilterSettings Highlight="Matches" EmptyMessage="Type here to filter" />
            </telerik:RadDropDownTree>
        </div>
       
        <div class="form_filed_container width400">
            <label class="form_filed_label">类型：</label>
            <telerik:RadComboBox ID="ddlOrganizationType" runat="server" Width="295px">
            </telerik:RadComboBox>
        </div>
         <div class="form_filed_container width400">
            <label class="form_filed_label">状态：</label>
            <telerik:RadComboBox ID="ddlOrganizationStatus" runat="server" Width="295px">
            </telerik:RadComboBox>
        </div>
       <div class="form_filed_container width400">
            <label class="form_filed_label">省份：</label>
            <telerik:RadComboBox ID="ddlProvinceRegion" runat="server" Width="295px" OnSelectedIndexChanged="ddlProvinceRegion_SelectedIndexChanged" AutoPostBack="true">
            </telerik:RadComboBox>
        </div>
        <div class="form_filed_container width400">
            <label class="form_filed_label">市：</label>
            <telerik:RadComboBox ID="ddlCityRegion" runat="server" Width="295px" OnSelectedIndexChanged="ddlCityRegion_SelectedIndexChanged"  AutoPostBack="true">
            </telerik:RadComboBox>
        </div>
        <div class="form_filed_container width400">
            <label class="form_filed_label">区：</label>
            <telerik:RadComboBox ID="ddlDistrictRegion" runat="server" Width="295px">
            </telerik:RadComboBox>
        </div>
          <div class="form_filed_container width400">
            <label class="form_filed_label">地址：</label>
            <telerik:RadTextBox ID="txtAddress" MaxLength="100" Width="295px" runat="server"></telerik:RadTextBox>
        </div>
          <div class="form_filed_container width400">
            <label class="form_filed_label">电话：</label>
            <telerik:RadTextBox ID="txtPhoneNumber" MaxLength="32" Width="295px" runat="server"></telerik:RadTextBox>
        </div>

 
        <div class="form_filed_container width400">
            <label class="form_filed_label">备注：</label>
            <telerik:RadTextBox ID="txtRemark" MaxLength="32" Width="295px" runat="server"></telerik:RadTextBox>
        </div>

        <div class="form_filed_container width400">
            <label class="form_filed_label">序号：</label>
            <telerik:RadNumericTextBox ID="txtOrderNumber" runat="server" Width="295px" Type="Number"
                NumberFormat-DecimalDigits="0" MinValue="0" MaxValue="100000000">
            </telerik:RadNumericTextBox>

        </div>

         <div class="form_filed_container width400">
            <label class="form_filed_label">价格：</label>
            <telerik:RadNumericTextBox ID="txtPricePerTime" runat="server" Width="295px" Type="Number"
                NumberFormat-DecimalDigits="2" MinValue="0" MaxValue="100">
            </telerik:RadNumericTextBox>

        </div>
         <div class="form_filed_container width400">
            <label class="form_filed_label">归还时间：</label>
               <telerik:RadTimePicker ID="rdtpFacilityEndDate" Width="295px" runat="server"
                                 TimeView-TimeFormat="HH:mm" 
                                DateInput-ReadOnly="true" TimeView-Interval="00:30">
                            </telerik:RadTimePicker>

        </div>
          <div class="form_filed_container width400">
            <label class="form_filed_label">限制使用时间：</label>
            <telerik:RadNumericTextBox ID="txtFacilityCantUsedLatestMinutes" runat="server" Width="295px" Type="Number" ToolTip="归还时间到期前多少分钟限制下单使用"
                NumberFormat-DecimalDigits="0" MinValue="0" MaxValue="10000">
            </telerik:RadNumericTextBox>

        </div>
        <div class="form_action_button width400">
            <telerik:RadButton ID="btnOk" runat="server" Text="确定" OnClick="btnOk_Click" Width="120px">
            </telerik:RadButton>
            &nbsp; &nbsp;           
                            <telerik:RadButton ID="btnCancel" runat="server" Text="取消" Width="120px"
                                AutoPostBack="false"
                                OnClientClicked="onBtnCancelClick">
                            </telerik:RadButton>
        </div>
    </div>

    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type="text/javascript">
            function onBtnCancelClick() {
                redirectToOrganizationsPage(true);
            }
            function redirectToOrganizationsPage(isConfirm) {
                if (isConfirm) {
                    onCloseRadWindowManagerDefaultProcessing(true);
                }
            }
        </script>
    </telerik:RadCodeBlock>
</asp:Content>

